package com.henry.framework.bean;

import java.util.Map;

/**
 * Created by 峥桂 on 2017/5/7.
 */
public class Param {
    private Map<String,Object> paramMap;

    public Param(Map<String, Object> paramMap) {
        this.paramMap = paramMap;
    }

    public long getLong(String name){
        return Long.parseLong((String) paramMap.get(name));
    }

    public Map<String, Object> getParamMap() {
        return paramMap;
    }
}
